
<template>
  <div>
    <h1>购物车例子</h1>
    <hr>
    <h2>产品列表</h2>
    <ProductList/>
    <hr>
    <ShoppingCart/>
  </div>
</template>

<script>
  import { get } from "@/api/common";
import ProductList from './components/ProductList.vue'
import ShoppingCart from './components/ShoppingCart.vue'

export default {
    name: "shoping",
    components: { ProductList, ShoppingCart },
    data() {
      return {
        items: [],
      }
    },
    mounted() {
      //this.getLoginUser()
    },
    methods: {

    }
  }
</script>

<style scoped>

</style>
  